From d039ca35ffae55870786920db11156ccdc94471c Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 1 Feb 2007 19:46:08 +0000 Subject: [PATCH] Use the newly-public Earth 2.1 XSD in KML writer. --- kml.c | 8 ++++++-- reference/earth-expertgps.kml | 5 ++++- reference/earth-gc.kml | 5 ++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/kml.c b/kml.c index bd4bc4bbb..ad35998d5 100644 --- a/kml.c +++ b/kml.c @@ -181,7 +181,7 @@ void wpt_desc(const char *args, const char **unused) tmp = xstrdup((char *)args); c = lrtrim(tmp); if (*c) { -// wpt_tmp->description = xstrappend(wpt_tmp->description, c); + wpt_tmp->description = xstrappend(wpt_tmp->description, c); } xfree(tmp); } @@ -802,7 +802,11 @@ void kml_write(void) trackdata = (!! strcmp("0", opt_trackdata)); kml_write_xml(0,"\n"); - kml_write_xml(1,"\n"); + kml_write_xml(1,"\n" + ); kml_write_xml(1,"\n"); now = current_time(); diff --git a/reference/earth-expertgps.kml b/reference/earth-expertgps.kml index 0d6cc5d2a..010570ff7 100644 --- a/reference/earth-expertgps.kml +++ b/reference/earth-expertgps.kml @@ -1,5 +1,8 @@ - + GPS device diff --git a/reference/earth-gc.kml b/reference/earth-gc.kml index 556b0b55c..20c2122a8 100644 --- a/reference/earth-gc.kml +++ b/reference/earth-gc.kml @@ -1,5 +1,8 @@ - + GPS device -- 2.30.2